<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

<head>
    <title>最简单的以只读模式打开Word文档</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">

<script type="text/javascript">
    function OnPageOfficeCtrlInit() {
        pageofficectrl.OfficeToolbars = false; //隐藏Office工具栏
        pageofficectrl.CustomToolbar = false; //隐藏自定义工具栏
        pageofficectrl.Caption="只读模式打开Word文档";
    }
</script>
</head>

<body>
<div style=" width:auto; height:700px;" th:utext="${pageoffice}">

</div>
</body>

</html>
